﻿<%@ Page Theme="BlueSkin" Title="نظام التدريب الالكتروني : الملف الشخصي" Language="C#" MasterPageFile="~/LmsWebSite/MasterAR.master" AutoEventWireup="true" CodeFile="ProfileAR.aspx.cs" Inherits="ProfileAR" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

     <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
        <asp:UpdateProgress ID="uprogress1" runat="server">
            <ProgressTemplate>
            
                <div style="position:fixed;width:30px;height:30px;top:0px;right:0px;border:1px solid orange;">
                    <img src="images/loading.gif" style="width:30px;height:30px;"  alt='Loading' title='Loading'/>
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    
        
<table cellspacing="5" cellpadding="5" width="100%">
        <tr>
            <td align="right" class="heading">
              الملف الشخصي
            </td>
        </tr>
    </table>
    <br />
    
    <div class="aligning allWidthWithMargins  direction" style="margin-bottom:20px;margin-left:30px;margin-right:30px;">
        <asp:Panel ID="pnlShow" runat="server" CssClass="aligning allWidthWithMargins  direction" Font-Size="14px">



                <div class="floating aligning direction" style="width:200px;">
                <asp:Label ID="lblBadge" runat="server" Text="رقم الموظف"></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;">
               <asp:Label ID="lblBadgeBody" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" >
               
            </div>

            <div class="clearing" style="height:10px;"></div>

             <div class="floating aligning direction" style="width:200px;">
                <asp:Label ID="lblEmployeeName" runat="server" Text="اسم الموظف "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;">
               <asp:Label ID="lblEmployeeNameBody" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" >
               
            </div>


            <div class="clearing" style="height:10px;"></div>

             <div class="floating aligning direction" style="width:200px;">
                <asp:Label ID="lblName" runat="server" Text="اسم المستخدم "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;">
               <asp:Label ID="lblNameBody" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" >
               
            </div>

             <div class="clearing" style="height:10px;"></div>

             <div class="floating aligning direction" style="width:200px;">
                <asp:Label ID="lblRecordNo" runat="server" Text="رقم المستخدم. "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;">
               <asp:Label ID="lblRecordNoBody" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" >
               
            </div>


            <div class="clearing" ></div>

                    
        
           <div class="floating aligning direction" style="width:700px;">
               <asp:Label ID="lblOrganizationBody" runat="server" Text=""></asp:Label>
            </div>  
           



             <div class="clearing" style="height:10px;"></div>

             <asp:Panel ID="pnlShowEdits" runat="server">
            

             <div class="floating aligning direction" style="width:200px;">
                <asp:Label ID="lblEmail" runat="server" Text="البريد الالكتروني "></asp:Label>
            </div>        
            
        
           <div class="floating aligning direction" style="width:250px;">
               <asp:Label ID="lblEmailBody" runat="server" Text=""></asp:Label>

            </div>  
           <div class="floating aligning direction" >
               
            </div>


             <div class="clearing" style="height:10px;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblPhone1" runat="server" Text="رقم الهاتف "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
               <asp:Label ID="lblPhone1Body" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" style="display:none;" >
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblPhone2" runat="server" Text="رقم الهاتف 2 "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
               <asp:Label ID="lblPhone2Body" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" style="display:none;" >
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblMobile1" runat="server" Text="رقم الجوال "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
               <asp:Label ID="lblMobile1Body" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" style="display:none;" >
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblMobile2" runat="server" Text="رقم الجوال 2 "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
               <asp:Label ID="lblMobile2Body" runat="server" Text=""></asp:Label>
            </div>  
           <div class="floating aligning direction" style="display:none;" >
               
            </div>
            <div class="clearing"></div>
            </asp:Panel>
                
            <div class="clearing"></div>

            <asp:Panel ID="pnlEditEdits" runat="server">
            

             <div class="floating aligning direction" style="width:200px;">
                <asp:Label ID="lblEmailEdit" runat="server" Text="البريد الالكتروني "></asp:Label>
            </div>        
                
        
           <div class="floating aligning direction" style="width:250px;">
               <asp:TextBox ID="txtEmail" runat="server" Width="240px"></asp:TextBox>

            </div>  
           <div class="floating aligning direction" >
               <asp:RegularExpressionValidator ID="revEmail" runat="server" 
                   ErrorMessage="يجب كتابة البريد الالكتروني بالصيغة الصحيحة !" ControlToValidate="txtEmail" 
                   ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
            </div>


             <div class="clearing" style="height:10px;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblPhone1Edit" runat="server" Text="رقم الهاتف "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
               <asp:TextBox ID="txtPhone1" runat="server" Text="" style="width:150px;"></asp:TextBox>
                 &nbsp;-&nbsp;
                <asp:TextBox ID="txtInnerPhone1" runat="server" Text="" style="width:60px;"></asp:TextBox>
            </div>  
           <div class="floating aligning direction" style="display:none;">
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblPhone2Edit" runat="server" Text="رقم الهاتف 2 "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
               <asp:TextBox ID="txtPhone2" runat="server" Text="" style="width:150px;"></asp:TextBox>
                 &nbsp;-&nbsp;
                <asp:TextBox ID="txtInnerPhone2" runat="server" Text="" style="width:60px;"></asp:TextBox>
            </div>  
           <div class="floating aligning direction" style="display:none;" >
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblMobile1Edits" runat="server" Text="رقم الجوال "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
                          <asp:TextBox ID="txtMobile1" runat="server" Text=""  style="width:250px;"></asp:TextBox>
        
            </div>  
           <div class="floating aligning direction" style="display:none;" >
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>

             <div class="floating aligning direction" style="width:200px;display:none;">
                <asp:Label ID="lblMobile2Edits" runat="server" Text="رقم الجوال 2 "></asp:Label>
            </div>        
        
           <div class="floating aligning direction" style="width:250px;display:none;">
                <asp:TextBox ID="txtMobile2" runat="server" Text=""  style="width:250px;"></asp:TextBox>
            </div>  
           <div class="floating aligning direction"  style="display:none;">
               
            </div>


            <div class="clearing" style="height:10px;display:none;"></div>


            <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="Label1"  runat="server" Text="كلمة المرور"></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           <asp:TextBox ID="txtPassword" runat="server" Text="" style="width:250px;" TextMode="Password" ></asp:TextBox>
        </div>  
       <div class="floating aligning direction" >
           
        </div>
       
       <div class="clearing" style="width:1px;height:10px;"></div>
       
       <div class="floating aligning direction" style="width:200px;">
            <asp:Label ID="Label2"  runat="server" Text="اعادة كلمة المرور"></asp:Label>
        </div>        
        
       <div class="floating aligning direction" style="width:250px;">
           <asp:TextBox ID="txtRepeatPassword" runat="server" Text="" style="width:250px;" TextMode="Password"></asp:TextBox>
        </div>  
       <div class="floating aligning direction" >
           <asp:CompareValidator ID="cvRepeatPassword" runat="server" ErrorMessage="كلمات المرور غير متطابقة" ControlToValidate="txtRepeatPassword" ControlToCompare="txtPassword" Operator="Equal" >*</asp:CompareValidator>
        </div>


            <div class="clearing"></div>
            </asp:Panel>


            <div class="clearing" style="height:10px;"></div>
            
            <div class="floating aligning direction" style="width:700px;">
                <div class="aligning direction" style="float:right">

                    <asp:Button ID="btnCancel" runat="server" Text="الغاء" 
                        CausesValidation="false" onclick="btnCancel_Click" BorderStyle="Solid" BorderColor="Orange" BackColor="DarkOrange" ForeColor="White"/>
                    <asp:Button ID="btnEdit" runat="server" Text="تحرير" CausesValidation="false" 
                        onclick="btnEdit_Click" BorderStyle="Solid" BorderColor="Orange" BackColor="DarkOrange" ForeColor="White"/>
                    <asp:Button ID="btnSave" runat="server" Text="حفظ" CausesValidation="true" 
                        onclick="btnSave_Click" BorderStyle="Solid" BorderColor="Orange" BackColor="DarkOrange" ForeColor="White"/>

                <div class="clearing" ></div>
                </div>
                
                <div class="clearing" ></div>
            </div> 


            <div class="clearing" style="height:10px;" ></div>

            <div class="aligning allWidthWithMargins  direction">
            <asp:Label ID="lblError" runat="server" Text="" ForeColor="Red" style="margin-left:30px;" EnableViewState ="false"></asp:Label>
            <div class="clearing"></div>
            <asp:Label ID="lblResult" runat="server" ForeColor="Green" 
                    style="margin-left:30px;" EnableViewState="False"  ></asp:Label>
            
            <div class="clearing"></div>
        </div>
        
        <div class="clearing"></div>
        <div class="aligning allWidthWithMargins  direction">
            <asp:ValidationSummary ID="vsError" runat="server" />
            
            <div class="clearing"></div>
        </div>

            <div class="clearing"></div>
        </asp:Panel>
         <div class="clearing"></div>
     

    </div>

    </ContentTemplate>
    </asp:UpdatePanel>
    

</asp:Content>

